package com.dd.edu.guava.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "t_hot_bean")
public class HotBean {
    @Id
    private Integer id;
    private String name;
    private int pid;
    private String type;
    private String url;
    @Column(name = "is_hot")
    private int isHot;
}